const axios = require('axios')

const Instance = axios.create()

Instance.interceptors.response.use(
  (response) => {
    return response.data
  },
  (error) => {
    return Promise.reject(error);
  }
)

module.exports = Instance